package com.pty.demo.behaviour.interpreter;

/**
 * @author pengty
 * @date 2020/3/16
 */
public class VarTerminalExpression implements Expression {

    private int key;

    public VarTerminalExpression(int key) {
        this.key = key;
    }

    @Override
    public int interpreter() {
        return this.key;
    }
}
